package com.qqtech.qquan.pub.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.common.util.StringUtil;

@SuppressWarnings("serial")
public class PubPromotionVo extends PubPromotion {
	/**
	 * 推广的圈子集合
	 */
	private String circleIds;
	
	
	public String getCircleIds() {
		return circleIds;
	}

	public void setCircleIds(String circleIds) {
		this.circleIds = circleIds;
	}

	private String promotionName;
	/**
	 * 模板
	 */
	private Integer template;

	public String getPromotionName() {
		return promotionName;
	}

	public Integer getTemplate() {
		return template;
	}

	public void setPromotionName(String promotionName) {
		this.promotionName = promotionName;
	}

	public void setTemplate(Integer template) {
		this.template = template;
	}
	
	public String getPathImgs() {
		if (StringUtil.isBlank(this.getImg())) {
			return "";
		}
		return this.getFileDomain() + getImg();
	}
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}